import request from '@/utils/requestMd5'

// 搜索广告列表
export function queryOperate(data) {
  return request({
    url: '/advertisment/list',
    method: 'get',
    data
  })
}

// 新增/修改/删除广告
export function addOperate(data) {
  return request({
    url: '/advertisment/operate',
    method: 'post',
    data
  })
}

// 查询广告详情
export function getOperateInfo(data) {
  return request({
    url: '/advertisment/info',
    method: 'get',
    data
  })
}

// 字典
export function getDicionryInfo(data) {
  return request({
    url: '/dicionry/info',
    method: 'get',
    data
  })
}